home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.4 Applications 1997 August / SGI IRIX 6.4 Applications 1997 August.iso / relnotes / nedit / ch5.z / ch5
Encoding:
Text File  |  1997-08-01  |  7.8 KB  |  199 lines

  1.  
  2.  
  3.  
  4.                                   - 1 -
  5.  
  6.  
  7.  
  8.        5.  _K_n_o_w_n__P_r_o_b_l_e_m_s__a_n_d__W_o_r_k_a_r_o_u_n_d_s
  9.  
  10.        PROBLEM: No files are shown in the "Files" list in the
  11.        Open... dialog.
  12.        WORKAROUND: When you use the "Filter" field, include the
  13.        file specification or a complete directory specification,
  14.        including the trailing "/" on Unix.  (See Help in the
  15.        Open... dialog).
  16.  
  17.        PROBLEM: The keyboard shortcuts (accelerator keys) are not
  18.        working when 'Caps' or 'Num Lock' are switched on.
  19.        WORKAROUND: Be sure the Caps Lock and Num Lock keys are both
  20.        unlocked... it's a Motif design flaw.  Netscape painfully
  21.        works around this and the Alt/Meta key reversal on Sun
  22.        workstations by internally re-implementing the Motif menu
  23.        accelerator mechanism.  NEdit will likely follow suit with
  24.        the next major release.
  25.  
  26.        PROBLEM: When ever I execute an nedit shell command (such as
  27.        spell or wc) I get (extra junk, error messages, complaints
  28.        from stty) inserted into my text, or an Information dialog
  29.        with (extra junk, error messages, complaints from stty).
  30.        WORKAROUND: You probably have printing commands in your
  31.        shell startup file (.cshrc, or equivalent).  These should
  32.        either be skipped in non-interactive mode, or moved to your
  33.        .login file.
  34.        Error messages from stty are a result of it being executed
  35.        from a process which isn't attached to a terminal.  You can
  36.        safely move stty statements and most other interactive
  37.        commands to your .login file (calling stty from a .cshrc
  38.        file is redundant because the terminal device doesn't change
  39.        for each sub-shell).  If you can't remove interactive
  40.        commands, you should skip around them in non-interactive
  41.        shells, I think the usual method is to put them at the end,
  42.        preceded by something like:
  43.          if ($?prompt == 0) exit
  44.        The manual entry on csh has more information on this.
  45.  
  46.        PROBLEM: Find Again and Replace Again don't continue in the
  47.        same direction as the original Find or Replace.
  48.        WORKAROUND: Find Again and Replace Again don't use the
  49.        direction of the original search.  The Shift key controls
  50.        the direction: Ctrl+G means forward, Shift+Ctrl+G means
  51.        backward.
  52.  
  53.        PROBLEM: Preferences specified in the Preferences menu don't
  54.        seem to get saved when I select Save Defaults.
  55.        WORKAROUND: NEdit has two kinds of preferences: 1) per-
  56.        window preferences, in the Preferences menu, and 2) default
  57.        settings for preferences in newly created windows, in the
  58.        Default Settings sub-menu of the Preferences menu.  Per-
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                   - 2 -
  71.  
  72.  
  73.  
  74.        window preferences are not saved by Save Defaults, only
  75.        Default Settings.
  76.  
  77.        PROBLEM: Columns and indentation don't line up.
  78.        WORKAROUND: NEdit is using a proportional width font.  Set
  79.        the font to a fixed style (see Preferences).
  80.  
  81.        PROBLEM: NEdit performs poorly on very large files.
  82.        WORKAROUND: Turn off Incremental Backup.  With Incremental
  83.        Backup on, NEdit periodically writes a full copy of the file
  84.        to disk.
  85.  
  86.        PROBLEM: Commands added to the Shell Commands menu (Unix
  87.        only) don't output anything until they are finished
  88.        executing.
  89.        WORKAROUND: If the command output is directed to a dialog,
  90.        or the input is from a selection, output is collected
  91.        together and held until the command completes.  De-select
  92.        both of the options and the output will be shown
  93.        incrementally as the command executes.
  94.  
  95.        PROBLEM: Dialogs don't automatically get keyboard focus when
  96.        they pop up.
  97.        WORKAROUND: Most X Window managers allow you to choose
  98.        between two categories of keyboard focus models: pointer
  99.        focus, and explicit focus.  Pointer focus means that as you
  100.        move the mouse around the screen, the window under the mouse
  101.        automatically gets the keyboard focus.  NEdit users who use
  102.        this focus model should set "Popups Under Pointer" in the
  103.        Default Settings sub menu of the preferences menu in NEdit.
  104.        Users with the explicit focus model, in some cases, may have
  105.        problems with certain dialogs, such as
  106.         Find and Replace.  In MWM this is caused by the mwm
  107.        resource startupKeyFocus being set to False (generally a bad
  108.        choice for explicit focus users).  NCDwm users should use
  109.        the focus model "click" instead of "explicit", again, unless
  110.        you have set it that way to correct specific problems, this
  111.        is the appropriate setting for most explicit focus users.
  112.  
  113.        PROBLEM: Operations between rectangular selections on
  114.        overlapping lines do nothing.
  115.        WORKAROUND: None.  These operations are very complicated and
  116.        rarely used, maybe next version...
  117.  
  118.        PROBLEM: Cut and Paste menu items fail, or possibly crash,
  119.        for very large (multi-megabyte) selections.
  120.        WORKAROUND: Use selection copy (middle mouse button click)
  121.        for transferring larger quantities of data.  Cut and Paste
  122.        save the copied text in server memory, which is usually
  123.        limited.
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                   - 3 -
  137.  
  138.  
  139.  
  140.        PROBLEM: (in Motif 1.1 Versions) The shortcut method for
  141.        entering control characters (Alt+Ctrl+char) is not
  142.        available.
  143.        WORKAROUND: Use the Ins. Control Char command.
  144.  
  145.        PROBLEM: (in Motif 1.1 Versions) Pop-up dialogs "jump"
  146.        (appear briefly in a different location) when they are first
  147.        invoked.
  148.        WORKAROUND: Turn off "Popups Under Pointer" if this gives
  149.        you a headache.
  150.  
  151.        PROBLEM: Some of the special keys on my keyboard don't do
  152.        what I expect.
  153.        WORKAROUND: X systems are rife with this kind of problem
  154.        because are just too many levels of re-settable bindings
  155.        between the keyboard and the application program that reads
  156.        it.  Sun systems are the worst offenders, combining poor
  157.        Motif support with a variety of strange keyboard
  158.        arrangements.
  159.        To diagnose these problems, you have to look at all three
  160.        levels of key binding that affect Motif programs.  At the
  161.        bottom level are the modifier map and keymap table, where
  162.        hardware key codes are bound to X keysyms. You can see the
  163.        bindings on this level with the xmodmap program (see man
  164.        xmodmap).  A useful tool in debugging the xmodmap level is a
  165.        program like xev, which can show you the keysyms it
  166.        receives.  The next level up from that is the motif virtual
  167.        binding level (see man VirtualBindings).  The xmbind program
  168.        can show you these, but is unfortunately often not available
  169.        on systems which don't have Motif pre-installed, which is
  170.        where it's usually needed the most.  At the top level are
  171.        the X toolkit translation tables (see the NEdit Help section
  172.        called X Resources).  To show the translations in use, you
  173.        can add a binding which dumps the table itself:
  174.            nedit*text.Translations: #override         Alt<Key>t:
  175.        XtDisplayTranslations()
  176.        Typing Alt+T will then display the contents of the
  177.        translation table to stdout (the terminal from which you
  178.        started NEdit).  If you have the NEdit source, you can also
  179.        look at the default bindings in the module text.c.
  180.        Sometimes, even if you don't understand the problem, you can
  181.        patch around it by supplying translations for the keysyms
  182.        that NEdit actually sees, binding them to the action
  183.        routines that you want activated when you press that key.
  184.        This would be a lot easier if there were a nice program like
  185.        xev for printing out keysyms after translation by the Motif
  186.        virtual binding step.
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.